Profile    Mohammed Shiroz Status   Loading  
Logo
Share This

My sanctum
blog and Updates

It's my personal blog and my post about what was my interested in. Not regularly. If you have any questions any discussion, I'm happy you get in touch with me, and try to answer as many as possible!

Blog
Let's See
Back to blog
Filter by:
Tags
//Article

Laravel Sanctum vs Passport: Which Auth Package Do You Actually Need?

Laravel Sanctum vs Passport: Which Auth Package Do You Actually Need?

Blog Summary

Sanctum and Passport both issue tokens, so people pick one at random. One question decides it: will apps you don't own access your users' data? Cookie SPAs, mobile tokens and OAuth, explained with code.

Read more
  • 92
  • 140
  • 20

Cookies vs Tokens: Where Should Your Web App Keep the Session?

Cookies vs Tokens: Where Should Your Web App Keep the Session?

Blog Summary

That login token in localStorage is readable by every script on your page. Here's the real trade-off between HttpOnly cookies and tokens, XSS vs CSRF, and how Laravel Sanctum handles SPAs and mobile apps.

Read more
  • 33
  • 116
  • 10

01. About Shiroz

Mohammed Shiroz

Hi, I'm Mohammed Shiroz, a software engineer and AI enthusiast from Sri Lanka who turns ideas into intelligent, real-world solutions. With over 9 years of hands-on experience, I currently lead real estate ERP development at Kate Group, a...

03.My Projects

04. Categories

Ready To Start Your Project ?

Get in Touch
Close